package com.dt.app.modules.test.vo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.util.Date;
import com.dt.app.modules.base.entites.PageEntity;
/**
 * <p>
 * 
 * </p>
 *
 * @author 鸿源塔基
 * @since 2024-02-22
 */
@Data
@NoArgsConstructor
@ApiModel(value="SchoolCourseSelection对象", description="")
public class SchoolCourseSelectionBean extends PageEntity implements Serializable {

    private static final long serialVersionUID=1365756234102L;

    public SchoolCourseSelectionBean(String course){
        this.course=course;
    }
    public SchoolCourseSelectionBean(String nianJi,String zhouJi,String course){
        this.nianJi=nianJi;
        this.zhouJi=zhouJi;
        this.course=course;
    }

    @ApiModelProperty(value = "选课")
    private Long schoolCourseSelectionId;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "年级")
    private String grade;

    @ApiModelProperty(value = "班级")
    private String className;

    @ApiModelProperty(value = "学号")
    private String numb;

    @ApiModelProperty(value = "电话")
    private String phone;

    @ApiModelProperty(value = "课程")
    private String course;


    @ApiModelProperty(value = "年级")
    private String nianJi;
    @ApiModelProperty(value = "周几")
    private String zhouJi;

    private String course71;
    private String course72;
    private String course81;
    private String course82;

    public void toSetGrade(){
        if(className!=null){
            grade=className.split(" ")[0];
        }
    }
}